
<table>
	<tr align="center">
		<th width="40">序号</th>
		<th>员工</th>
		<th width="40"></th>

		<th>分机</th>
		<th>地址</th>
		<th>端口</th>
		<th>备注</th>

		<th>状态</th>
		<th>{[$orderby]}</th>
	</tr>
	{[foreach name=outer key=key item=item from=$result]} {[assign var="no" value="`$key+$pager->from+1`"]}
	<tr align="center" onMouseOver="this.style.backgroundColor='#D2E4FC'" onMouseOut="this.style.backgroundColor=''">
		<td>{[$no]}</td>
		<td>{[$item.emp_t]}</td>

		<td><a href="javascript:void(0)"
			onclick="b1(event, '{[$root]}?do=Sip.update&exten={[$item.user]}, {[$root]}?do=Sip.recording&exten={[$item.user]}')"> [管理]</a></td>
		<td>{[$item.user]}</td>
		<td>{[$item.host]}</td>

		<td>{[$item.port]}</td>
		<td>{[$item.ua]}</td>

		<td>{[if $item.status eq '1']} {[$item.status_t]} {[else]} <font color='red'>{[$item.status_t]}</font> {[/if]}</td>
		<td>{[$item.orderby_x]}</td>
	</tr>
	{[/foreach]}
</table>

{[include file="footer.tpl"]}

<script type="text/javascript"
	src="js/emp/sip/list.js?r={[$smarty.now]}"></script>
